package cn.tj212.xiaoyin.core.course.service;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.course.domain.CourseComment;

import java.util.List;

public interface ICourseCommentService {

    public CourseComment getById(Long id);

    public List<CourseComment> queryAll(CourseComment queryEntity);

    public TailPage<CourseComment> queryPage(CourseComment queryEntity,TailPage<CourseComment> page);

    public TailPage<CourseComment> queryMyQAItemsPage(CourseComment queryEntity, TailPage<CourseComment> page);

    public void create(CourseComment entity);

    public void createSelectivity(CourseComment entity);

    public void update(CourseComment entity);

    public void updateSelectivity(CourseComment entity);

    public void delete(CourseComment entity);

    public void deleteLogic(CourseComment entity);
}
